package com.ruoyi.zhgd.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.zhgd.util.PageUtils;
import com.ruoyi.zhgd.domain.NLaboratoryAsphaltSofteningPointRes;
import com.ruoyi.zhgd.domain.bo.ZjExperimentBindingBo;
import com.ruoyi.zhgd.domain.vo.NLaboratoryAsphaltSofteningPointResVo;
import com.ruoyi.zhgd.domain.bo.NLaboratoryAsphaltSofteningPointResBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * 沥青软化点试验仪_结果Service接口
 *
 * @author zyb
 * @date 2023-09-11
 */
public interface INLaboratoryAsphaltSofteningPointResService {

    /**
     * 查询沥青软化点试验仪_结果
     */
    NLaboratoryAsphaltSofteningPointResVo queryById(String id);

    /**
     * 查询沥青软化点试验仪_结果列表
     */
    TableDataInfo<NLaboratoryAsphaltSofteningPointResVo> queryPageList(NLaboratoryAsphaltSofteningPointResBo bo, PageQuery pageQuery);

    /**
     * 查询沥青软化点试验仪_结果列表
     */
    List<NLaboratoryAsphaltSofteningPointResVo> queryList(NLaboratoryAsphaltSofteningPointResBo bo);

    /**
     * 新增沥青软化点试验仪_结果
     */
    Boolean insertByBo(NLaboratoryAsphaltSofteningPointResBo bo);

    /**
     * 修改沥青软化点试验仪_结果
     */
    Boolean updateByBo(NLaboratoryAsphaltSofteningPointResBo bo);

    /**
     * 校验并批量删除沥青软化点试验仪_结果信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);

    PageUtils queryPage(Page page, Map<String, Object> params);

    List<NLaboratoryAsphaltSofteningPointRes> selectSofteningPoint(List<String> ids);

    void updateByBos(List<NLaboratoryAsphaltSofteningPointRes> softeningPointRes);

    Page<Map<String, Object>> selectRhdPage(ZjExperimentBindingBo bo, Page<Object> build);

    void updateStatus(String laboratoryId, Integer eligible, Integer relevance);

    String selectDeptId(String deviceId);
}
